﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Program08
{
    class MallardDuck:DuckBase
    {
        public override string DisplayName()
        {
            return "我是野鸭";
        }
        public MallardDuck()
        {
            base.flyBehavior = new FlySide();
            base.quackBehavior = new Quack1();
        }
    }
}
